var mongoose = require("./db.js")

var Schema = mongoose.Schema;

var slideshowPhotoSchema = new Schema({
    //轮播图片
    slideshowPhotos:{type:String},
    //关联商品ID
    slideshowPhotoID:mongoose.Types.ObjectId,
    type:{type:String},
    flag:{type:Boolean},
    status:{type:String}
})
var slideshow = mongoose.model("slideshow",slideshowPhotoSchema,"slideshow")
module.exports = slideshow
